package com.gxuwz.dsj.service;


import com.gxuwz.dsj.Bean.Admin;
import com.gxuwz.dsj.mapper.AdminMapper;
import javafx.util.converter.CharacterStringConverter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminService {

    @Autowired
    AdminMapper adminMapper;


    public Admin login(String userName,String password){
        return  adminMapper.getAdmin(userName,password);
    }


}
